Doc additions
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 29 Dec 2008 07:24:06 +0000 (07:24 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 29 Dec 2008 07:24:06 +0000 (07:24 +0000)
svn path=/trunk/; revision=21995

ChangeLog
gtk/gtkstyle.c

index c3c4c30b27d38ccb7acfea01b79e4521ad3d7388..a36c05f03df26bc15012c1bd3c34c3ec897d0f9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstyle.c: Doc additions
+
 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new.
index 474ec44cfe118fffed12b422c3709c7b00a51d5a..69f3451118cdcaea91293fcc5049af10c81bdb50 100644 (file)
@@ -1430,6 +1430,21 @@ gtk_draw_focus (GtkStyle      *style,
   GTK_STYLE_GET_CLASS (style)->draw_focus (style, window, GTK_STATE_NORMAL, NULL, NULL, NULL, x, y, width, height);
 }
 
+/**
+ * gtk_draw_slider:
+ * @style: a #GtkStyle
+  @window: a #GdkWindow
+ * @state_type: a state
+ * @shadow_type: a shadow
+ * @x: the x origin of the rectangle in which to draw a slider
+ * @y: the y origin of the rectangle in which to draw a slider
+ * @width: the width of the rectangle in which to draw a slider
+ * @height: the height of the rectangle in which to draw a slider
+ * @orientation: the orientation to be used
+ *
+ * Draws a slider in the given rectangle on @window using the
+ * given style and orientation.
+ */
 void 
 gtk_draw_slider (GtkStyle      *style,
                 GdkWindow     *window,
@@ -1509,6 +1524,19 @@ gtk_draw_expander (GtkStyle        *style,
                                               x, y, expander_style);
 }
 
+/**
+ * gtk_draw_layout:
+ * @style: a #GtkStyle
+ * @window: a #GdkWindow
+ * @state_type: a state
+ * @use_text: whether to use the text or foreground
+ *            graphics context of @style
+ * @x: x origin
+ * @y: y origin
+ * @layout: the layout to draw
+ * 
+ * Draws a layout on @window using the given parameters.
+ */
 void
 gtk_draw_layout (GtkStyle        *style,
                  GdkWindow       *window,